package com.pug.zixun.pojo;

import com.baomidou.mybatisplus.annotation.*;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.pug.generator.anno.PugDoc;

import java.util.Date;
/**
 * AdminRole实体
 * 创建人:yykk<br/>
 * 时间：2022-07-15 22:04:49 <br/>
 * 源码下载：前台代码 git clone https://gitee.com/kekesam/kuangstudy-pug-ui.git
 * 飞哥B站地址：后台代码 git clone https://gitee.com/kekesam/kuangstudy-pug-parent.git
 * @version 1.0.0<br/>
 *
*/
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
@TableName("gs_admin_roles")
public class AdminRole  implements java.io.Serializable {

    @PugDoc(name="注解")
    @TableId(type = IdType.ASSIGN_ID)
    private Long id;
    @PugDoc(name="角色代号")
    private String roleCode;
    @PugDoc(name="角色名称")
    private String roleName;
    @PugDoc(name="发布状态")
    private Integer status;
    @PugDoc(name="删除状态")
    private Integer isdelete;
    @PugDoc(name="创建时间")
    @TableField(fill = FieldFill.INSERT)
    private Date createTime;
    @PugDoc(name="更新时间")
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date updateTime;

}
